package models;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import play.db.jpa.Model;

@Entity
public class Goods extends Model {

	public String title;
	public String siteurl;
	public String city;
	public String img;
	public Long starttime;
	public Long endtime;
	public String value; // 价值，即原价
	public String price; // 折后价
	public String discount; // 折扣，一般都为0
	public String description; // 描述
	public String remark; // 备注
	public Long curtime; // 用于页面的展示
	public Long diff; // 用于页面展示
	public Integer priority; // 显示时的优先级

	public Integer merchantId; // 商家id
	public Integer auto; // 是否为自动抓取

	public String tags; // 分类标签,以,号分隔

	public Date expired; // 过期时间
	
	public Date createTime;

	public Date updateTime;

	public Boolean deleted;

	public String insertUser;

	public String updateUser;
}
